package cn.stylefeng.guns.modular.shop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 店铺
 * </p>
 *
 * @author lauyang
 * @since 2020-04-18
 */
@TableName("shop")
public class Shop implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 店铺名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 店铺联系方式
     */
    @TableField("shop_tel")
    private String shopTel;

    /**
     * 店铺地址
     */
    @TableField("shop_addr")
    private String shopAddr;

    /**
     * 店铺营业时间
     */
    @TableField("shop_time")
    private String shopTime;

    /**
     * 创建时间
     */
    @TableField("creat_time")
    private Date creatTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopTel() {
        return shopTel;
    }

    public void setShopTel(String shopTel) {
        this.shopTel = shopTel;
    }

    public String getShopAddr() {
        return shopAddr;
    }

    public void setShopAddr(String shopAddr) {
        this.shopAddr = shopAddr;
    }

    public String getShopTime() {
        return shopTime;
    }

    public void setShopTime(String shopTime) {
        this.shopTime = shopTime;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "Shop{" +
        "id=" + id +
        ", shopName=" + shopName +
        ", shopTel=" + shopTel +
        ", shopAddr=" + shopAddr +
        ", shopTime=" + shopTime +
        ", creatTime=" + creatTime +
        "}";
    }
}
